/**
 * 
 */
package org.istt.service.impl;

import org.istt.dao.GroupDao;
import org.istt.domain.Group;
import org.istt.service.GroupManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Huy
 *
 */
@Service("groupManager")
public class GroupManagerImpl extends ManagerImpl<Group, Long> implements GroupManager {
	
	/**
	 * @param categoryDao the categoryDao to set
	 */
	@Autowired
	public void setGroupDao(GroupDao dao) {
		this.dao = dao;
	}

	/***
	 * Created by NDTHO.2012.02.22
	 */
	@Override
	public Group getGroup(String role, boolean isSystem) {
		// TODO Auto-generated method stub
		return ((GroupDao)dao).getGroup(role, isSystem);
	}

}
